#include "COutput.h"
#include "CPolygon.h"
#include "Rectangle.h"
#include "Triangle.h"
int main()
{
	Rectangle rect;
	Triangle trgl;
	rect.setValues(4, 5);
	trgl.setValues(4, 5);
	rect.writeln(rect.area());
	trgl.writeln(trgl.area());
	system("pause");
	return 0;
}